﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cnv="clr-namespace:ShredTheLog.Converters"
    >
    
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Default.xaml"/>
        <ResourceDictionary Source="UK.xaml"/>
        <ResourceDictionary Source="Spain.xaml"/>
        <ResourceDictionary Source="China.xaml"/>
        <ResourceDictionary Source="Korea.xaml"/>
        <ResourceDictionary Source="India.xaml"/>
        <ResourceDictionary Source="Turkey.xaml"/>
        <ResourceDictionary Source="HongKong.xaml"/>
        <ResourceDictionary Source="ArabLeague.xaml"/>
        <ResourceDictionary Source="Portugal.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <x:Array x:Key="Flags" Type="{x:Type cnv:FlagDescriptor}">
        <cnv:FlagDescriptor Language="English" Image="{StaticResource FlagOfUk}"/>
        <cnv:FlagDescriptor Language="Spanish" Image="{StaticResource FlagOfSpain}"/>
        <cnv:FlagDescriptor Language="French">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#002395">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="300, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#ED2939">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="600, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Japanese">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#BC002D">
                                <GeometryDrawing.Geometry>
                                    <EllipseGeometry Center="450, 300" RadiusX="180" RadiusY="180"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="German">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="Black">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#DD0000">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 200, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#FFCE00">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Italian">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#009246">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="300, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#CE2B37">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="600, 0, 300, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="ChineseMandarin" Image="{StaticResource FlagOfChina}"/>
        <cnv:FlagDescriptor Language="Russian">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="Blue">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 200, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="Red">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Portuguese" Image="{StaticResource FlagOfPortugal}"/>
        <cnv:FlagDescriptor Language="Korean" Image="{StaticResource FlagOfKorea}"/>
        <cnv:FlagDescriptor Language="Hindi" Image="{StaticResource FlagOfIndia}"/>
        <cnv:FlagDescriptor Language="Polish">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 300"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#dc143c">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 300, 900, 300"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Hungarian">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#ce1126">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 200, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#008751">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Turkish" Image="{StaticResource FlagOfTurkey}"/>
        <cnv:FlagDescriptor Language="Swedish">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#005b99">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 1500, 1000"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#fcd116">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="500, 0, 200, 1000"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#fcd116">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 1500, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Finnish">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 1650, 1100"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#003580">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 1650, 300"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#003580">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="500, 0, 300, 1100"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Dutch">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#AE1C28">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 200, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#21468B">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 400, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="Thai">
            <cnv:FlagDescriptor.Image>
                <DrawingImage>
                    <DrawingImage.Drawing>
                        <DrawingGroup>
                            <GeometryDrawing Brush="#de1018">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 0, 900, 600"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="White">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 100, 900, 400"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#00247d">
                                <GeometryDrawing.Geometry>
                                    <RectangleGeometry Rect="0, 200, 900, 200"/>
                                </GeometryDrawing.Geometry>
                            </GeometryDrawing>
                        </DrawingGroup>
                    </DrawingImage.Drawing>
                </DrawingImage>
            </cnv:FlagDescriptor.Image>
        </cnv:FlagDescriptor>
        <cnv:FlagDescriptor Language="ChineseCantonese" Image="{StaticResource FlagOfHongKong}"/>
        <cnv:FlagDescriptor Language="Arabic" Image="{StaticResource FlagOfArabLeague}"/>
    </x:Array>
</ResourceDictionary>